#pragma once

#include "GameTimer.h"
#include "GameStateStack.h"
#include <SFML/Graphics.hpp>

class GameLoop
{
public:
	GameLoop(void);
	~GameLoop(void);

	void	Initialize();
	void	SetFps(int);	

private:
	void	Update(double);
	void	Draw(double);
	void	Run();
	void	SendAllPosition();

	int							m_fps;
	GameTimer					m_timer;
	GameStateStack				m_gss;


	sf::RenderWindow			m_window;
};
